@layout("/common/_container.html",{js:["/assets/basic/basicPosition/import.js"]}){
<style>
.a-upload {
    height: 41px;
    line-height: 40px;
    position: relative;
    cursor: pointer;
    color: #fff;
    background: #1E9FFF;
     padding: 0 18px;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    text-align: center;
    font-size: 14px;
}

.a-upload  input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer
}

.a-upload:hover {
    color: #444;
    background: #eee;
    border-color: #ccc;
    text-decoration: none
}
</style>

<div class="layui-body-header">
    <span class="layui-body-header-title">Import Storage Location</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <div  class="layui-form model-form" style="max-width: 700px;margin: 2px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>Storage Location Basic Information</legend>
			  	</fieldset> 
                <div class="layui-form-item">
                    <label class="layui-form-label">Warehouse Name<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="warehouseId" name="warehouseId" lay-filter="warehouseId" lay-verify="required" required>
                            @for(item in wlist!){
                            <option value="${item.id}">${item.warehouseName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>Excel File Upload</legend>
			  	</fieldset> 
				<div class="layui-upload">
                    <label class="layui-form-label"><span style="color: red;">*</span></label>
                    <a href="javascript:;" class="a-upload">
						<input type="file"  id="test8"/>Select File
					</a>
					<span class="showFileName"></span>
				</div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
			    	<legend>Excel Template Download</legend>
			  	</fieldset> 
			  	<div class="layui-upload">
                    <label class="layui-form-label"></label>
					<a type="button" href="${ctxPath}/basicPosition/downloadExcel" class="layui-btn" id="test2">Download File</a> 
				</div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 40px;">
			  	</fieldset> 
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" id="test9" lay-submit>&emsp;Save&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;Back&emsp;</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

@}